<?php

namespace addons\Dailywords\controller;

use app\index\controller\Addons;

class Index extends Addons
{
    public function index(){
        $param = request()->param();
        if($param&&isset($param['name'])){
            echo 'demo '.$param['name'];
        }else{
            echo 'demo';
        }
    }
}